'use strict';

const Controller = require('egg').Controller;

class HomeController extends Controller {
    async articleinfo() {
        const { ctx } = this;
        const data = ctx.request.body;
        console.log(data);
        const res = { code: 1, msg: '发送成功' };

        ctx.body = res;
    }



}

module.exports = HomeController;
